import json



with open('book.txt', 'r', encoding='utf-8') as file:
    json_data = file.read()

print(json_data)

try:
    data = json.loads(json_data)
except json.JSONDecodeError as e:
    print(f"json 解析错误：{e}")
else:
    # 输出解析后的数据
    print(data)
